import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import './assets/global.css';
import '@/assets/css/fontCss/iconfont.css'
import request from './utils/request';
import editor from "mavon-editor";
import 'mavon-editor/dist/css/index.css'
import './assets/css/theme/index.css'
import VueContextMenu from "vue-contextmenu/src/main";
import VueResource from 'vue-resource'
import astrict from "@/utils/astrict";
import vcrontab from "vcrontab";
import elementResizeDetectorMaker from "element-resize-detector"

Vue.config.productionTip = false;
Vue.prototype.$erd=elementResizeDetectorMaker();
Vue.use(ElementUI,{size:"mini "});
Vue.use(editor);
Vue.use(VueContextMenu);
Vue.use(VueResource);
Vue.use(astrict);
Vue.use(vcrontab);
Vue.prototype.request=request;
Vue.prototype.baseUrl=process.env.VUE_APP_BASEURL;



new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
